package com.lalala.kafkacustomer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.kafka.annotation.KafkaListener;


@SpringBootApplication
public class KafkaCustomerApplication {

    public static void main(String[] args) {
        SpringApplication.run(KafkaCustomerApplication.class, args);
    }


    @KafkaListener(topics = "${staffkafka.topicsId}")
    public static void getKafkaCustomer(String uuid){
        System.out.println("uuid--->"+uuid);
    }

}
